﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Home.Master" AutoEventWireup="true" CodeBehind="change-password.aspx.cs" Inherits="TripsLogic.change_password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
<article id="content">
				<div class="wrapper pad_bot2" style="background: url(../images/line_ver1.jpg) 590px 36px no-repeat;">
					<section class="grid_14" style="padding-right:40px;">
						<h2><asp:Literal ID="litChangePassword" runat="server"></asp:Literal></h2>
						<div id="contact_form">
									<div id="contactform" class="main-contacts" runat="server">
													<div class="rowElem">
														<span class="label"><asp:Literal ID="litOldPassword" runat="server"></asp:Literal>:</span>
														<div class="bg">
															<asp:TextBox ID="txtOldPassword" Width="261px"  runat="server" TextMode="Password"></asp:TextBox>   &nbsp;  &nbsp;   <asp:RequiredFieldValidator ID="reqValOldPassword" Display="Dynamic" runat="server"
                                ControlToValidate="txtOldPassword" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red" ID="rgeOldPasswordLength" Display="Dynamic" runat="server" ControlToValidate="txtOldPassword" 
                                ValidationExpression="[\s\S]{6,30}"></asp:RegularExpressionValidator>
														</div>
													</div>
                                                    <div class="rowElem">
														<span class="label"><asp:Literal ID="litNewPassword" runat="server"></asp:Literal>:</span>
														<div class="bg">
															<asp:TextBox ID="txtNewPassword" Width="261px"  runat="server" TextMode="Password"></asp:TextBox>   &nbsp;  &nbsp;   <asp:RequiredFieldValidator ID="reqValNewPassword" Display="Dynamic" runat="server"
                                ControlToValidate="txtNewPassword" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red" ID="rgeNewPasswordLength" Display="Dynamic" runat="server" ControlToValidate="txtNewPassword" 
                                ValidationExpression="[\s\S]{6,30}"></asp:RegularExpressionValidator>
														</div>
													</div>
                                                    <div class="rowElem">
														<span class="label"><asp:Literal ID="litRePassword" runat="server"></asp:Literal>:</span>
														<div class="bg">
															<asp:TextBox ID="txtRePassword" Width="261px"  runat="server" TextMode="Password"></asp:TextBox>  &nbsp;  &nbsp;     <asp:RequiredFieldValidator ID="reqValRePassword" Display="Dynamic" runat="server"
                                ControlToValidate="txtRePassword" ForeColor="Red"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator  ForeColor="Red" ID="rgeRePasswordLength" Display="Dynamic" runat="server" ControlToValidate="txtRePassword" 
                                ValidationExpression="[\s\S]{6,30}"></asp:RegularExpressionValidator>
                                   <asp:CompareValidator ForeColor="Red" ID="cmpValRePassword" runat="server" 
                            ControlToCompare="txtNewPassword" ControlToValidate="txtRePassword" Operator="Equal" Display="Dynamic"></asp:CompareValidator>
														</div>
													</div>
                                                      <div class="rowElem">
														<span class="label">&nbsp;</span>
														<div class="bg">
															   <asp:Label ID="lblFrmResponse" runat="server"></asp:Label>
														</div>
													</div>

                                                    <asp:LinkButton ID="lbtSave" class="button1" runat="server" 
                                                        onclick="lbtSave_Click"></asp:LinkButton>
											</div>
								</div>
					</section>
				</div>
			</article>
</asp:Content>
